core: Use at-relative lookup for locating objects too
authorColin Walters <walters@verbum.org>
Sat, 7 Sep 2013 08:47:40 +0000 (04:47 -0400)
committerColin Walters <walters@verbum.org>
Sat, 7 Sep 2013 08:47:40 +0000 (04:47 -0400)
commitb97249d4f90e7d1e10a41b73d73dbd703148084e
tree09966f6c4119ed6c51be6542003403b35aa13e97
parenta7c0992d94a8c3e37e956d4cb66eef51f4b8fa89
core: Use at-relative lookup for locating objects too

Add new internal API to both fstatat() and write a pathname for the
given object.  Use it in commit, and also wrapped in the old
GFile-based API.

This is more efficient.
src/libostree/ostree-repo-commit.c
src/libostree/ostree-repo-private.h
src/libostree/ostree-repo.c